
#include "imaging.h"
#pragma once
#pragma warning(disable:4018 )
#pragma warning(disable:4244 )
typedef unsigned char  TUInt8; // [0..255]
typedef unsigned short TUInt16;
typedef unsigned long  TUInt32;
void RGB32To16_ErrorDiffuse( TUInt16 *pDst, BitmapData *bmpData );
void RGB24To16_ErrorDiffuse( TUInt16 *pDst, BitmapData *bmpData );
void RGB24ToRGB565( TUInt16 *pDst, BitmapData *bmpData );
void RGB565_Converter(  TUInt16 *pDst, BitmapData *bmpData );
void SmoothScaleImage( BitmapData *bmpData,unsigned int *pDst, int dw, int dh, int bpp);

